package tp.Composition.model;

public class Mammal
{

    private String colour;
    private int temperature;

    public Mammal(String colour, int temperature)
    {
        this.colour = colour;
        this.temperature = temperature;
    }

    public String getColour()
    {
        return colour;
    }

    public void setColour(String colour)
    {
        this.colour = colour;
    }

    public int getTemperature()
    {
        return temperature;
    }

    public void setTemperature(int temperature)
    {
        this.temperature = temperature;
    }

    public void growHair()
    {
        System.out.println("Growing hair");
    }
}
